package com.love.marriage.userInfo.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.love.marriage.config.Long2StringSerializer;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * description:  用户身份信息Vo
 * author:       system
 * createDate:   2024-12-09
 * version:      1.0.0
 */
@Getter
@Setter
@Accessors(chain = true)
@Schema(name = "UserIdentityInfoVo", description = "用户身份信息Vo")
public class UserIdentityInfoVo {

    @JsonSerialize(using = Long2StringSerializer.class)
    @Schema(description = "用户ID", type = "Long", implementation = Long.class)
    private Long id;

    @Schema(description = "用户编码", type = "String", implementation = String.class)
    private String code;

    @Schema(description = "手机号码", type = "String", implementation = String.class)
    private String phone;

    @Schema(description = "合伙人标识 (0:否, 1:是)", type = "Integer", implementation = Integer.class)
    private Integer partnerFlag;

    @Schema(description = "合伙人类型 (first: 初级, second: 中级, third: 高级)", type = "String", implementation = String.class)
    private String partnerType;

    @Schema(description = "会员标识 (0:否, 1:是)", type = "Integer", implementation = Integer.class)
    private Integer membershipFlag;

    @Schema(description = "会员类型名称", type = "String", implementation = String.class)
    private String membershipName;

    @Schema(description = "媒人标识 (0:否, 1:是)", type = "Integer", implementation = Integer.class)
    private Integer matchmakerFlag;
}